package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/4
 * @desc 内容自定义字段表
 */

@Setter
@Getter
@Document
@ApiModel(value = "内容自定义字段表")
public class ContentConfigT extends BaseDocument {

    /** 字段名称 */
    @ApiModelProperty(value = "字段名称")
    private String columnName;

    /** 字段类型 */
    @ApiModelProperty(value = "字段类型")
    private String columnType;

    /** 字段标签 */
    @ApiModelProperty(value = "字段标签")
    private String columnLabel;

}
